﻿Public Class LoginForm1

    Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
        If UsernameTextBox.Text = "egen" And PasswordTextBox.Text = "scada" Then
            MessageBox.Show("مرحبا")
            add_mix.Show()
            Me.Close()

        Else
            MessageBox.Show("البيانات خطأ")
        End If
    End Sub

    Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cancel.Click
        Me.Close()
    End Sub

End Class
